package com.masterclient.app.businessmodule.usermodule.userinfo.contract;

import com.eoner.baselib.presenter.FCBasePresenter;
import com.eoner.baselib.presenter.IFCBaseView;
import com.eoner.baselibrary.bean.address.AddressListBean;
import com.eoner.baselibrary.bean.personal.UploadImgBean;

import java.io.File;
import java.util.Map;

/**
 * 作者：sean
 * 创建时间：2017/8/2 18:36
 * 功能说明：
 */

public interface UserInfoContract {

    interface View extends IFCBaseView {

        void onUploadSuccess(UploadImgBean.DataBean dataBean);
        void onUpdateHeadImgSucccess();
        void getAddressList(AddressListBean.DataBean dataBean);
        void mobile_change_state_result(String code,String msg);
    }
    abstract static class Presenter extends FCBasePresenter<View> {
        public abstract void uploadImage(File images,String type);
        public abstract void updateUserInfo(Map<String,String> map);
        public abstract void getRegionList(String region_id);
        public abstract void mobile_change_state(String mobile);

    }
}